package com.rzjm.exercise.module.dao;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rzjm.exercise.common.base.dao.BaseDao;
import com.rzjm.exercise.module.domain.SurveyUserRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 问卷调查的用户填报数据Mapper接口
 *
 * @author ruoyi
 * @date 2021-09-05
 */
public interface SurveyUserRecordDao extends BaseDao<SurveyUserRecord> {

    List<SurveyUserRecord> getPageByUserId(@Param("page") Page<SurveyUserRecord> page, @Param("map") Map<String,Object> map);


    List<SurveyUserRecord> getExportListByUserId(@Param("map") Map<String,Object> map);

    List<SurveyUserRecord> getExportListByUserIdPage(@Param("map") Map<String,Object> map,
                                                 @Param("offset") Integer offset, @Param("pageSize") Integer pageSize);
}
